Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: CreateDocumentCollection -> Invalid object type for method argument
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

Hi all,


I build a NotesDocumentCollection from a loop using:
Set dc = db.CreateDocumentCollection 'Create empty document collection
Call dc.AddDocument(doc)

Then I want to compare the documentcollection with all entries in a view. Hey.. a new method of NotesViewEntryCollection called Subtract!

So:

Set vec = vw.AllEntries
Call vec.Subtract(dc)

But unfortunataly, a runtime error is raised: "Invalid object type for method argument"

When I create the empty document collection using db.Search({This="aFakeSearch"}, Nothing, 0), it works fine.
So this seems an issue in the CreateDocumentCollection method.


Bas


Feedback number WEBB86HH3D created by ~Lisa Quetfanateroni on 06/17/2010

Status: Open
Comments:

CreateDocumentCollection -> Invalid... (~Lisa Quetfanat... 17.Jun.10)
. . CreateDocumentCollection? (~Phil Nonhipige... 17.Jun.10)
. . . . It's still undocumented (~Lisa Quetfanat... 21.Jun.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS